import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
//引入全局样式
import "./global/common.css";
//引入字体图标
import "./assets/fonts/iconfont.css";

/* //导入axios
import axios from "axios";
//配置基准路径
axios.defaults.baseURL = "http://klxin.cn:8888/api/private/v1";
//  原型对象上挂载  axios
Vue.prototype.$axios = axios;
 */
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
//面包屑公共组件
import bread from "@/component/bread";
Vue.component("bread", bread);

Vue.use(ElementUI);
Vue.config.productionTip = false;

//实现树形表格
import treeTable from "vue-table-with-tree-grid";
Vue.component("tree-table", treeTable);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
